
//page no 50 default constructor
 
public class test {

    static int a=10;
    test(){
        this.my();
    }
     
    
    void my(){
        
        System.out.println("super calling the test constructor");
    }
}

class p extends test{
    
    p(int a){
        
        System.out.println("in the const p"+a);
    }
    
    public static void main(String k[]){
        new p(a);
        System.out.println(a);
    }
    
}